package commands.gui;

import dataTypes.DownloadFile;

/**
 *
 * @author Marcin Kamionowski
 */
public class GUIDownloadError extends GUIDownload {

    private final String message;

    public GUIDownloadError(DownloadFile file, String message) {
        super(GUICommandType.ERROR, file);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
